import { queryList } from '@/api/patient'

const state = {}

const mutations = {}

const actions = {
    queryList({ commit }, params) {
        return new Promise(resolve => {
            queryList(params).then(response => {
                resolve(response.data)
            });
        })
    }
}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}
